@import "@/base.scss";

page {
  height: 100%;
  width: 100%;
  background-color: #f8f8f8;
}

.main {
  .select {
    box-sizing: border-box;
    width: 100%;
    height: 300px;
    padding: 10px 0px;
    // padding-right: 0px;
    margin-top: 20px;
    background-color: #fff;

    .select-title {
      margin-left: 20px;
      font-size: 28px;
      color: #999;
      font-family: ".PingFang SC";
      font-weight: 300;
    }

    .select-name {
      font-size: 32px;
      color: #333;
      font-family: ".PingFang SC";
      font-weight: 600;
      margin-left: 20px;
    }
  }

  .scroll-view {
    width: 680px;
    height: 230px;
    white-space: nowrap;
    margin: 0 auto;  

      .scroll-item:first-child {
      margin-left: 20px;
    }

    .scroll-item {
      display: inline-flex;
      width: 175px;
      height: 195px;
      justify-content: center;
      border: 1px solid #e8e8e8;
      margin:10px 25px;

      .item-style {
        font-family: ".PingFang SC";
        text-align: center;

        .item-time {
          font-size: 28px;
          color: #333;
          font-weight: 600;
        }

        .item-price {
          color: #e7bb64;
          font-size: 24px;
        }

        .item-del {
          color: #999;
          font-size: 24px;
          text-decoration: line-through;
        }

        .item-discount {
          text-align: center;
          margin: 0 auto;
          width: 120px;
          font-size: 16px;
          color: #fff;
          font-weight: 300;
          background-image: linear-gradient(to right, #f4dcb5, #e7bb64);
          border-radius: 20px;
        }
      }
    }

    .current-item {
      background-color: #fffaeb;
      border: 1px solid #e7bb64;
      border-radius: 10px;
    }
  }

  .scroll-item1 {
    display: inline-flex;
    width: 175px;
    height: 195px;
    justify-content: center;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin:10px 25px;

    .itemStyle {
      justify-content: center;
      font-family: ".PingFang SC";
      text-align: center;

      .item-num {
        font-size: 42px;
        color: #e7bb64;
        font-weight: 600;
        font-family: PingFang SC;
        margin-top: 30px;

        .site {
          font-size: 32px;
          font-family: PingFang SC;
          font-weight: 400;
          line-height: 40px;
          color: #333333;
          opacity: 1;
        }
      }

      .item-price {
        font-size: 32px;
        font-family: PingFang SC;
        font-weight: 300;
        line-height: 19px;
        color: #999999;
        margin-top: 15px;
        opacity: 1;
      }
    }
  }

  .pay-style {
    background-color: #fff;
    margin-top: 30px;
    box-sizing: border-box;
    padding: 20px;
    padding-bottom: 10px;

    .pay-title {
      font-size: 32px;
      font-weight: 300;
      color: #333;
      border-bottom: 1px solid #e6e6e6;
    }

    .pay-select {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: nowrap;
      padding: 15px 0px;

      image {
        width: 44px;
        height: 44px;
      }

      .pay-name {
        margin-left: 20px;
        font-size: 32px;
        font-weight: 500;
        font-family: ".PingFang SC";
        color: #333;
      }

      .pay-select-view {
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
  }

  // 支付按钮
  .activation-code {
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: 90%;
    height: 80px;
    border-radius: 50px;
    background-image: linear-gradient(to right, #f4dcb5, #e7bb64);
    transform: translate(-50%, 0);
    font-size: 32px;
    font-family: ".PingFang SC";
    font-weight: 800;
    line-height: 80px;
    text-align: center;
  }
}
